Component org.nuxeo.ecm.platform.routing.dashboard.urlservice
In bundle org.nuxeo.ecm.platform.routing.dashboard
Contributions
- org.nuxeo.ecm.platform.routing.dashboard.urlservice--codecs
- org.nuxeo.ecm.platform.routing.dashboard.urlservice--urlpatterns
- org.nuxeo.ecm.platform.routing.dashboard.urlservice--startURL
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.routing.dashboard.urlservice">
<extension target="org.nuxeo.ecm.platform.url.service.DocumentViewCodecService"
point="codecs">
<documentViewCodec name="docpathworkflow" enabled="true"
default="false" prefix="nxworkflow"
class="org.nuxeo.ecm.platform.url.codec.DocumentPathCodec" />
</extension>
<extension target="org.nuxeo.ecm.platform.ui.web.rest.URLService"
point="urlpatterns">
<urlPattern name="workflow" enabled="true">
<defaultURLPolicy>false</defaultURLPolicy>
<needBaseURL>true</needBaseURL>
<needRedirectFilter>true</needRedirectFilter>
<needFilterPreprocessing>true</needFilterPreprocessing>
<codecName>docpathworkflow</codecName>
<actionBinding>
#{restHelper.initContextFromRestRequest}
</actionBinding>
<documentViewBindingApplies>
#{mainTabsActions.isOnMainTab('workflow_dashboard')}
</documentViewBindingApplies>
<documentViewBinding>
#{restHelper.documentView}
</documentViewBinding>
<newDocumentViewBinding>
#{restHelper.getNewDocumentView(null)}
</newDocumentViewBinding>
<bindings>
<binding name="tabId" callGetter="false">
#{webActions.currentTabId}
</binding>
<binding name="subTabId" callGetter="false">
#{webActions.currentSubTabId}
</binding>
<binding name="tabIds">#{webActions.currentTabIds}</binding>
<binding name="language" callGetter="false">
#{restHelper.localeString}
</binding>
</bindings>
</urlPattern>
</extension>
<extension
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
point="startURL">
<startURLPattern>
<patterns>
<pattern>nxworkflow/</pattern>
</patterns>
</startURLPattern>
</extension>
</component>